<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<style>
  .wt{
    margin: 50px auto;
    width: 800px;
    height: 800px;
    box-sizing: border-box;
    border: 1px solid red;
    perspective:500px;
  }
  .box{
    margin: 10px auto;
    width: 500px;
    transform-origin:0px 0%;
    transform:rotateX(40deg);
  }
  .box img{
    width: 100%;
  }
</style>
<body>
  <div class="wt">
    <div class="box">
      <img src="./public/bg1.jpg"  alt="">
    </div>
  </div>
</body>
</html>